﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sl.Upload.Models
{
    public class PostFileParam<TPrimaryKey>
    {
        public virtual TPrimaryKey Id { get; set; }
        /// <summary>
        /// 上传类型
        /// </summary>
        public virtual string UploadPathType { get; set; }
        /// <summary>
        /// 命令
        /// </summary>
        public virtual CommandType Command { get; set; }
        /// <summary>
        /// 分片上传总数
        /// </summary>
        public virtual int Chunks { get; set; }
        /// <summary>
        /// 当前分片数
        /// </summary>
        public virtual int Chunk { get; set; }
        /// <summary>
        /// 文件Guid
        /// </summary>
        public virtual string Guid { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public virtual string FileName { get; set; }
        /// <summary>
        /// 上传类型
        /// </summary>
        public virtual UploadType UploadType { get; set; }
    }
}
